package li.webqq.api;

import li.http.Request;
import li.webqq.Const;

/**
 * @author 明伟
 */
public class GetFaceRequest extends Request implements Const {
    private String uin;

    private String vfwebqq;

    public void setUin(String uin) {
        this.uin = uin;
    }

    public void setVfwebqq(String vfwebqq) {
        this.vfwebqq = vfwebqq;
    }

    public GetFaceResponse execute() {
        super.setUrl(URL_GET_FACE);
        super.setReferer(URL_WEB2);
        super.setFollowRedirects(false);

        super.setParameter("uin", uin);
        super.setParameter("vfwebqq", vfwebqq);

        return super.execute(new GetFaceResponse());
    }
}